import { PartialType } from '@nestjs/mapped-types'
import { CreateOperationDto } from './create-operation.dto'
import { IsOptional } from 'class-validator'

export class UpdateOperationDto extends PartialType(CreateOperationDto) {
  @IsOptional()
  readonly id: number
  readonly name: string
  readonly code: string
  readonly description?: string
}
